<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration {
    public function up(): void
    {
        /**
         * 景点分类 这个数据落到配置文件
         */
//        Schema::create('scenic_classes', function (Blueprint $table) {
//            $table->id();
//            $table->string('scenic_id')->comment('景点id');
//            $table->string('class_name',16)->comment('景点分类');
//            $table->timestamps();
//            $table->index('scenic_id','idx_spot');
//        });
    }

    public function down(): void
    {
        Schema::dropIfExists('scenic_classes');
    }
};
